/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pe.com.asistencia.bean;

/**
 * clase   que   contiene la  respuesta  de un proceso
 * @author Alumno
 */
public class BeanM {
   private     boolean  error;
   private  String   menserror;
   private  String    mensok;
   private  Object   data;

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public boolean isError() {
        return error;
    }

    public void setError(boolean error) {
        this.error = error;
    }

    public String getMenserror() {
        return menserror;
    }

    public void setMenserror(String menserror) {
        this.menserror = menserror;
    }

    public String getMensok() {
        return mensok;
    }

    public void setMensok(String mensok) {
        this.mensok = mensok;
    }




    public BeanM() {
    }

    public BeanM(boolean error, String menserror, String mensok, Object data) {
        this.error = error;
        this.menserror = menserror;
        this.mensok = mensok;
        this.data = data;
    }

}
